package gcb.metalsys.service.cop.impl;

import gcb.metalsys.entity.cop.ExtAccountInformation;
import gcb.metalsys.mapper.cop.ExtAccountInformationMapper;
import gcb.metalsys.service.cop.ExtAccountInformationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2020-07-15
 */
@Service
public class ExtAccountInformationServiceImpl extends ServiceImpl<ExtAccountInformationMapper, ExtAccountInformation> implements ExtAccountInformationService {

    @Autowired
    private ExtAccountInformationMapper extAccountInformationMapper;

    @Override
    public List<Map<String, Object>> listPage(String countNumber, int pageNum, int pageSize) {
        return extAccountInformationMapper.listPage(countNumber, pageNum, pageSize);
    }

    @Override
    public int listTotal(String countNumber) {
        return extAccountInformationMapper.listTotal(countNumber);
    }
}
